Creating a Script

The Script or SDK Script activities enable you to build a custom script using Workflow's Script Editor.

To Create a Script

  1. Add a Script or SDK Script activity to your workflow definition by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
  2. Select the activity in the Designer Pane.
  3. In the Script property box, select a script in the Script or SDK Script folder tree, and click the script's read-only contents in the Properties Pane. Alternatively, double-click the script in the folder tree.
  4. Write your script in the Script Editor.

Using the Script Editor

Tip: Review the Script Editor documentation for detailed information about each of the panes in the Script Editor.

C# Example

The following represents the C# code used to add a stamp to the first page of the entry specified in the activity's Script's Default Entry property box using an SDK Script activity.

VB.NET Example

The following represents the VB.NET code used to add a stamp to the entry specified in the activity's Script's Default Entry property box using an SDK Script activity.

Related Topics